package com.sdweizan.sdk.bytedance.bean.payment;

import com.alibaba.fastjson.annotation.JSONField;
import com.sdweizan.sdk.bytedance.bean.BdBaseResponse;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@lombok.Data
public class BdCreateOrderResponse extends BdBaseResponse {

  @JSONField(name = "data")
  private Data data;

  @NoArgsConstructor
  @lombok.Data
  public static class Data {
    // 抖音侧唯一订单号
    @JSONField(name = "order_id")
    private String orderId;
    // 签名后的订单信息
    @JSONField(name = "order_token")
    private String orderToken;

    @JSONField(name = "url")
    private String url;
  }
}
